luci-app-adblock: sync with adblock-4.2.2-6
authorDirk Brenken <[email protected]>
Thu, 10 Oct 2024 17:04:22 +0000 (19:04 +0200)
committerDirk Brenken <[email protected]>
Thu, 10 Oct 2024 17:04:48 +0000 (19:04 +0200)
* adjust changed sources field in the online status

Signed-off-by: Dirk Brenken <[email protected]>
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js

index 042e7dcb11fd14cfa9fdb9a331a63c46b2cff0bc..99773097ba1e94e0020a0f1c1f7e19395163f618 100644 (file)
@@ -180,9 +180,9 @@ return view.extend({
                                if (sources && info) {
                                        for (var i = 0; i < info.active_sources.length; i++) {
                                                if (i < info.active_sources.length-1) {
-                                                       src_array += info.active_sources[i].source + ', ';
+                                                       src_array += info.active_sources[i] + ', ';
                                                } else {
-                                                       src_array += info.active_sources[i].source
+                                                       src_array += info.active_sources[i]
                                                }
                                        }
                                        sources.textContent = src_array || '-';